<#assign pojo=oneToManyPojo.getOne()>
<#assign many=oneToManyPojo.getMany()>
<#assign ones=oneToManyPojo.getOnes()>
package ${pojo.getPackageName()}.service;

<#assign classbody>
    <#assign declarationName = pojo.importType(pojo.getDeclarationName())>
/**
* @author bo.wang
*/
@Component(${declarationName}Service.BEAN_ID)
public class ${declarationName}Service extends Base${declarationName}Service{

}
</#assign>
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.HashMap;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.ling.pl.core.commons.support.DaoPage;
import com.ling.pl.core.commons.utils.AssertHelper;
import com.ling.pl.core.commons.utils.BatchUtils;
import com.ling.pl.core.commons.utils.reflect.ReflectUtils;
import ${pojo.getPackageName()}.model.${declarationName};
import ${pojo.getPackageName()}.model.${declarationName}VO;
import ${pojo.getPackageName()}.model.${declarationName};
<#foreach child in many>
    <#assign childdeclarationName = child.importType(child.getDeclarationName())>
import ${child.getPackageName()}.model.${childdeclarationName};
import ${child.getPackageName()}.model.${childdeclarationName}VO;
import ${child.getPackageName()}.model.${childdeclarationName};
</#foreach>
<#foreach child in ones>
    <#assign childdeclarationName = child.importType(child.getDeclarationName())>
import ${child.getPackageName()}.model.${childdeclarationName};
import ${child.getPackageName()}.model.${childdeclarationName}VO;
import ${child.getPackageName()}.model.${childdeclarationName};
</#foreach>
import ${pojo.getPackageName()}.dao.${declarationName}Dao;
import ${pojo.getPackageName()}.service.${declarationName}Service;
${classbody}
